import React, { Component } from 'react'

export default class Form extends Component {

    state={
        text:""
    }
  render() {
    return (
      <div>
        <input type="text" value={this.state.text} onChange={
            (ev)=>{
            let value=ev.target.value
            this.setState({
                text:value
            })
        }} />
      </div>
    )
  }
}
